package org.bonorsoft.modules.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.bonorsoft.common.system.vo.DictModel;
import org.bonorsoft.modules.system.entity.SysDict;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 字典类别
 * @Author: WilliamYe
 * @Date:   2020-11-18
 * @Version: V1.0
 */
public interface SysDictMapper extends BaseMapper<SysDict> {

	public List<DictModel> queryDictItemsByCode(@Param("code") String code);

	@Deprecated
	public List<DictModel> queryTableDictItemsByCode(@Param("table") String table,@Param("text") String text,@Param("code") String code);


	public String queryDictTextByKey(@Param("code") String code, @Param("key") String key);

	@Deprecated
	public String queryTableDictTextByKey(@Param("table") String table, @Param("text") String text, @Param("code") String code, @Param("key") String key);

}
